﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BolsaWeb.Dominio.Aviso>" %>

<asp:Content ID="avisoTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Crear nuevo aviso
</asp:Content>

<asp:Content ID="avisoContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Crear oferta de trabajo</h2>
    <% using (Html.BeginForm()) { %>
   <%= Html.ValidationSummary(true) %>
   <fieldset>
    <div class="editor-label">
                <%= Html.LabelFor(model => Model.Titulo) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Titulo)%>
                <%= Html.ValidationMessageFor(model => model.Titulo)%>
            </div>
        <div class="editor-label">
                <%= Html.LabelFor(model => Model.Puesto) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Puesto)%>
                <%= Html.ValidationMessageFor(model => model.Puesto)%>
            </div>
           <div class="editor-label">
                <%= Html.LabelFor(model => Model.FechaInicio) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.FechaInicio)%>
                <%= Html.ValidationMessageFor(model => model.FechaInicio)%>
            </div>
          <div class="editor-label">
                <%= Html.LabelFor(model => Model.FechaTermino) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.FechaTermino)%>
                <%= Html.ValidationMessageFor(model => model.FechaTermino)%>
            </div>
        <p>
                <input type="submit" value="Crear" />
            </p>
              </fieldset>

  <% } %>
</asp:Content>